﻿using Iptv.MediaReporter.Enum;

namespace Iptv.MediaReporter.Entity
{
    /// <summary>
    /// 媒资信息实体类
    /// </summary>
    public class MediaEntity
    {
        /// <summary>
        /// 统一编号
        /// </summary>
        public string MediaID { get; set; }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string MediaCode { get; set; }
        /// <summary>
        /// 介质名称
        /// </summary>
        public string MediaName { get; set; }
        /// <summary>
        /// 文件大小
        /// </summary>
        public long FileSize { get; set; }
        /// <summary>
        /// iCMS中文件地址  使用的FTP地址
        /// </summary>
        public string RemoteFullPath { get; set; }
        /// <summary>
        /// 本地文件全路径  使用挂载的存储地址
        /// </summary>
        public string LocalFullPath { get; set; }
        /// <summary>
        /// 返回的介质GUID
        /// </summary>
        public string TaskID { get; set; }
        /// <summary>
        /// 介质指纹
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// 指纹采集/上报任务编号
        /// </summary>
        public string JobID { get; set; }
        /// <summary>
        /// 任务状态
        /// </summary>
        public EnumReportState State { get; set; }
    }
}
